package com.zkzx.common.area;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@ApiModel(value = "AreaVO", description = "行政区划实体")
@Builder
public class AreaVO {

    @ApiModelProperty(value = "id", example = "行政区划Code")
    private Integer id;

    @ApiModelProperty(value = "pid", example = "父级区划Code")
    private Integer pid;

    @ApiModelProperty(value = "name", example = "行政区划名称")
    private String name;

    @ApiModelProperty(value = "level", example = "行政区划等级 1-省 2-市 3-区县")
    private Byte level;

    @ApiModelProperty(value = "location", example = "行政区划中心点坐标")
    private String location;
}
